package cn.car.service;

import cn.car.domains.entity.VehicleEntryExitInfoEntity;
import cn.car.domains.entity.VehicleEntryExitLedgerInfoEntity;
import cn.car.domains.enums.VehicleSnapshotTypeEnum;
import cn.hutool.core.date.DateTime;

import java.util.List;

public interface VehicleEntryExitLedgerInfoService {
    void insert(VehicleEntryExitLedgerInfoEntity vehicleEntryExitLedgerInfoEntity);

    VehicleEntryExitLedgerInfoEntity getLastLedgerByVehicleNumber(String vehicleNumber);

    void recordHeadTailImg(Long id, String filePath, String inOutType, VehicleSnapshotTypeEnum vehicleSnapshotTypeEnum);

    void update(VehicleEntryExitLedgerInfoEntity lastVehicleEntity);

    List<VehicleEntryExitLedgerInfoEntity> compensateVehicleLedgerInfoUploadStatus(DateTime startTime, DateTime endTime);

}
